package com.tarena.lbs.content.dao.repository;

import com.tarena.lbs.content.pojo.po.ArticlePO;
import com.tarena.lbs.content.pojo.query.ArticleQuery;
import com.tarena.lbs.content.pojo.vo.ArticleVO;
import com.tarena.lbs.content.pojo.vo.BusinessVO;

import java.util.List;

public interface ArticleRepository {

    List<ArticleVO> articleList(ArticleQuery articleQuery);

    void updateArticle(ArticlePO po);

    ArticleVO articleDetail(String id);

    void insertArticle(ArticlePO articlePO);

    Integer findArticles(Integer shopId);

    void behavior(Integer id, Integer behavior);

    BusinessVO findBusinessById(Integer id);

    List<ArticlePO> selectByShopId(Integer integer);


    List<ArticleVO> articleListByGeo(ArticleQuery articleQuery, List<Integer> nearbyArticleIds);
}
